package com.lavegue.dao;

import java.util.Date;
import java.util.List;

import com.lavegue.common.BaseDao;
import com.lavegue.common.Page;
import com.lavegue.model.ManageMsg;
import com.lavegue.model.UserInfo;

/**
 * author: tianzhifen
 * date:2011-12-21
 * description:
 *
 */
public interface ManageMsgDao  extends BaseDao<ManageMsg, Integer>  {
	
	public Page<ManageMsg> findPage(int maybeSend,Date startTime, Date endTime,
			String title, int type, int group, int pageNo, int pageSize);
	
	public Page<ManageMsg> findPageByTypeAndGroup(int type ,int group, int pageNo, int pageSize,  UserInfo user, String title);
	public Page<ManageMsg> findManageMsgByContent(int pageNo,int pageSize,int typeid,String likeName);
	
	public List<ManageMsg> findMaybeSendMsgs();
}

